#!/bin/sh

yum -y install gcc
yum -y install libstdc++-devel
yum -y install gcc-c++
yum -y install curl-devel
yum -y install libxml2-devel
yum -y install openssl-devel
yum -y install mailcap
wget "https://downloads.sourceforge.net/project/fuse/fuse-2.X/2.8.4/fuse-2.8.4.tar.gz?r=&ts=1299709935&use_mirror=cdnetworks-us-1"
tar -xzvf fuse-2.8.4.tar.gz
cd fuse-2.8.4
./configure --prefix=/usr
make
make install
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib64/pkgconfig/
ldconfig
cd ..
wget http://s3fs.googlecode.com/files/s3fs-1.61.tar.gz
tar -xzvf s3fs-1.61.tar.gz
cd s3fs-1.61
./configure --prefix=/usr
make
make install